#include "ElapsedTimer.hpp"

#include <QtDebug>

ElapsedTimer::ElapsedTimer( const QString& operation )
{
  m_operation = operation;
  m_timer.start();
}

ElapsedTimer::~ElapsedTimer()
{
  qDebug() << QString( "The %1 operation took " ).arg( m_operation ) << m_timer.elapsed() << " milliseconds.";
}
